/**
 * @author jprieur
 */
package objects;

import java.util.UUID;
import java.io.Serializable;

import kernel.DataType;

public abstract class SimObject implements Serializable 
{
    private String _uuid;
    private static int cpt=0;

    public SimObject()
    {
	_uuid = UUID.randomUUID().toString();
    }

    /**
     * Return the Universally Unique Identifier (UUID) of the object
     * this one is used to link probe results with simulation objects
     * @return the object UUID
     */
    public String getUUID()
    {
	return _uuid;
    }

    // Datatype
    public abstract boolean setProperties(DataType data);
    public abstract DataType getProperties();




}
